package com.t235.gc.order.service;

import com.t235.gc.entity.GoodsOrder;
import com.t235.gc.mapper.GoodsOrderMapper;
import com.t235.gc.vo.GoodsOrderVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GoodsOrderService {
    @Resource
    private GoodsOrderMapper goodsOrderMapper;
    public List<GoodsOrder> getList(GoodsOrderVo vo){
     return goodsOrderMapper.getList(vo);
    }
    public int getCount(GoodsOrderVo vo){
        return goodsOrderMapper.getCount(vo);
    }
}
